package com.imooc.bilibili.dao.repository;

import com.imooc.bilibili.domain.Video;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

public interface VideoRepository extends ElasticsearchRepository<Video,Long> {
    /**
     * 通过标题进行模糊查询
     * @param keyword
     * @return
     */
    Video findByTitleLike(String keyword);
}
